/* 
 * Copyright (c) 2014 zepolar.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    zepolar - initial API and implementation and/or initial documentation
 */
package ec.gob.magap.model.upa;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import ec.gob.magap.model.upa.enumeration.EnumCategoria;

@Entity
public class Seed implements Serializable {
	
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private Long id;

	@Enumerated(EnumType.STRING)
	private EnumCategoria category;

	@Temporal(TemporalType.DATE)
	private Date fechaSiembra;
	
	private BigDecimal cantidadSemillaSembrada;
	private BigDecimal superficie;
	private BigDecimal cantidadSemillaCosechada;
	private BigDecimal cantidadSemillaSeleccionada;
	private BigDecimal costoProduccion;

}
